module JobsHelper
  def allow_edit(job)
    if job.user == current_user
      yield
    end
  end
end
